// Account.h : main header file for the Application
//
#pragma once

// CAccount:
// See Account.cpp for the implementation of this class
//

#include "GString.h"
#include "XMLFoundation.h"

class CAccount : public XMLObject
{
public:
	CAccount();
	~CAccount();

private:
		GString m_id;
        GString m_login;
		GString m_password;
		GString m_thirdField;
		GString m_fourthField;
		bool m_enabled;
		GString m_oldPassword1;
        GString m_oldPassword2;
        GString m_oldPassword3;
        GString m_oldPassword4;
		GString m_oldPassword5;
		GString m_oldPassword6;
		
public:
		GString GetId() const;
		void SetId( GString nId);
        GString GetLogin() const;
		void SetLogin(GString nLogin);
		GString GetPassword() const;
		void SetPassword(GString nPassword);
		GString GetThirdField() const;
		void SetThirdField(GString nThirdField);
		GString GetFourthField() const;
		void SetFourthField(GString nFourthField);
		bool GetEnabled() const;
		void SetEnabled(bool nEnabled);
		GString GetOldPassword1() const;
		void SetOldPassword1(GString nOldPassword1);
		GString GetOldPassword2() const;
		void SetOldPassword2(GString nOldPassword2);
		GString GetOldPassword3() const;
		void SetOldPassword3(GString nOldPassword3);
		GString GetOldPassword4() const;
		void SetOldPassword4(GString nOldPassword4);
		GString GetOldPassword5() const;
		void SetOldPassword5(GString nOldPassword5);
		GString GetOldPassword6() const;
		void SetOldPassword6(GString nOldPassword6);
		
public:
	virtual void MapXMLTagsToMembers();
	DECLARE_FACTORY(CAccount, Account)
};